#include "Pch.h"
#include "Log.h"
#include <spdlog\sinks\stdout_color_sinks.h>
namespace Engine
{
	 std::shared_ptr<spdlog::logger> Log::msClientLogger;
	 std::shared_ptr<spdlog::logger> Log::msEngineLogger;
	Log::Log()
	{

	}

	Log::~Log()
	{

	}

	void Log::Init()
	{
		spdlog::set_pattern("%^[%T] %n : %v%$");

		msEngineLogger = spdlog::stdout_color_mt("Engine");
		msEngineLogger->set_level(spdlog::level::trace);

		msClientLogger = spdlog::stdout_color_mt("Game");
		msClientLogger->set_level(spdlog::level::trace);
	}
}